<?php
    // using Yii::app()->params->hangve['post']['download-external']
    return array(
        'hangve' => array(
            'post' => array(
                'tempPath' => 'upload/temp/hangve/post_create/',
                'tempPathReply' => 'upload/temp/hangve/reply_create/',
                'path' => 'upload/hangve/post/',
                'img' => array(
                    'large'       => array('width' => 840, 'height' => 630, 'watermark' => 1, 'quality' => 95),
                    'small'       => array('width' => 120, 'height' => 90, 'watermark' => 0, 'quality' => 90),
                    'square_150'       => array('width' => 150, 'height' => 150, 'watermark' => 0, 'quality' => 90),
                ),
                'watermark' => array( // http://wideimage.sourceforge.net/wp-content/current/demo/?demo=merge
                    'file' => 'files/img/image/wm.png',
                    'left' => 'left',
                    'top' => 'bottom',
                    'opacity' => 100,
                ),
                // branch->content
                'img_body' => array('width' => 600, 'height' => 450),
                'download-external' => true,
            ),

        )
    );